<include file="public@header"/>
</head>
<body style="background-color: #E5F3E6">
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
    <!--company 不能写成 company  否则会报控制器不存在-->
        <li><a href="{:url('company/departmentIndex')}">组织机构</a></li>
		<li  class="active"><a href="{:url('company/departmentAdd')}">添加组织机构</a></li></li>
    </ul>
    <!-- js-ajax-form-->
    <form class="form-horizontal margin-top-20" action="{:url('company/departmentAddPost')}" method="post">
        <div class="form-group">
            <label for="input-departCode" class="col-sm-2 control-label"><span class="form-required">*</span>机构编码</label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" id="input-departCode" name="departCode">
            </div>
        </div>
        <div class="form-group">
            <label for="input-departName" class="col-sm-2 control-label"><span class="form-required">*</span>机构名称</label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" id="input-departName" name="departName">
            </div>
        </div><div class="form-group">
            <label for="input-departLevel" class="col-sm-2 control-label"><span class="form-required">*</span>级别</label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" id="input-departLevel" name="departLevel">
            </div>
        </div><div class="form-group">
            <label for="input-isEnd" class="col-sm-2 control-label"><span class="form-required">*</span>是否末级</label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" id="input-isEnd" name="isEnd">
            </div>
        </div>
    
        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
                <button type="submit" class="btn btn-primary js-ajax-submit">{:lang('ADD')}</button>
            </div>
        </div>
    </form>
</div>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>